\hypertarget{class_joystick_drive_service}{\section{Joystick\-Drive\-Service$<$ Drive, Value, Handler $>$ Class Template Reference}
\label{class_joystick_drive_service}\index{Joystick\-Drive\-Service$<$ Drive, Value, Handler $>$@{Joystick\-Drive\-Service$<$ Drive, Value, Handler $>$}}
}


{\ttfamily \#include $<$Joystick\-Drive\-Service.\-hpp$>$}

Inheritance diagram for Joystick\-Drive\-Service$<$ Drive, Value, Handler $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_joystick_drive_service}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_joystick_drive_service_a5b4946596f2cf629e36f901722a9b6ff}{{\bfseries Joystick\-Drive\-Service} (Drive \&drive, boost\-::shared\-\_\-ptr$<$ \hyperlink{class_filter}{Filter} $>$ drive\-Mode, Generic\-H\-I\-D \&joystick)}\label{class_joystick_drive_service_a5b4946596f2cf629e36f901722a9b6ff}

\item 
\hypertarget{class_joystick_drive_service_ae0df531e6e2d1c7c5bb56504c5d14cce}{{\bfseries Joystick\-Drive\-Service} (Drive \&drive, \hyperlink{class_filter}{Filter} $\ast$drive\-Mode, Generic\-H\-I\-D \&joystick, bool can\-Delete\-Drive\-Mode=false)}\label{class_joystick_drive_service_ae0df531e6e2d1c7c5bb56504c5d14cce}

\item 
\hypertarget{class_joystick_drive_service_ad692ae620418c8e9862c10bece001ec2}{{\footnotesize template$<$typename T $>$ }\\void {\bfseries Add\-Filter} (T $\ast$filter, bool can\-Delete\-Filter)}\label{class_joystick_drive_service_ad692ae620418c8e9862c10bece001ec2}

\item 
\hypertarget{class_joystick_drive_service_aabde06241312f66f853f68e3559a51a2}{{\footnotesize template$<$typename T $>$ }\\void {\bfseries Add\-Filter} (T filter)}\label{class_joystick_drive_service_aabde06241312f66f853f68e3559a51a2}

\end{DoxyCompactItemize}
\subsection*{Protected Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_joystick_drive_service_a8c63666459ba179ee155f049d66c5837}{typedef \hyperlink{struct_joystick_value}{Joystick\-Value} {\bfseries Input}}\label{class_joystick_drive_service_a8c63666459ba179ee155f049d66c5837}

\item 
\hypertarget{class_joystick_drive_service_af7f86e75e26fb42b6fc5c30200d225b0}{typedef Value {\bfseries Output}}\label{class_joystick_drive_service_af7f86e75e26fb42b6fc5c30200d225b0}

\item 
\hypertarget{class_joystick_drive_service_aae80d2cabf9dcddff9109586127e6427}{typedef \hyperlink{class_filter}{Filter}$<$ \hyperlink{struct_joystick_value}{Input}, Output $>$ {\bfseries Filter}}\label{class_joystick_drive_service_aae80d2cabf9dcddff9109586127e6427}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{class_joystick_drive_service_a14aafab1dedef204fbb3b4687e337732}{Handle\-Periodic} ()
\item 
virtual void \hyperlink{class_joystick_drive_service_a10fdd6658947a370286c07028cebce24}{Handle\-Stop} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_joystick_drive_service_aed9acd4f7de4f1049cfe64d320852d89}{Drive \& {\bfseries m\-\_\-drive}}\label{class_joystick_drive_service_aed9acd4f7de4f1049cfe64d320852d89}

\item 
\hypertarget{class_joystick_drive_service_a7958f118dafe8f0964c457e01e82cc8a}{\hyperlink{class_compound_filter}{Compound\-Filter}$<$ \hyperlink{struct_joystick_value}{Input}, Output $>$ {\bfseries m\-\_\-filter}}\label{class_joystick_drive_service_a7958f118dafe8f0964c457e01e82cc8a}

\item 
\hypertarget{class_joystick_drive_service_a2f7836056c614d54c53c902a58f912d8}{Generic\-H\-I\-D \& {\bfseries m\-\_\-joystick}}\label{class_joystick_drive_service_a2f7836056c614d54c53c902a58f912d8}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Drive, typename Value, void($\ast$)(\-Drive \&drive, const Value \&value) Handler$>$class Joystick\-Drive\-Service$<$ Drive, Value, Handler $>$}

The Joystick\-Drive\-Controller drives using input from a single joysticks.


\begin{DoxyTemplParams}{Template Parameters}
{\em Drive} & Needs to have a function called Stop that takes no arguments. \\
\hline
{\em Handler} & \\
\hline
\end{DoxyTemplParams}


\subsection{Member Function Documentation}
\hypertarget{class_joystick_drive_service_a14aafab1dedef204fbb3b4687e337732}{\index{Joystick\-Drive\-Service@{Joystick\-Drive\-Service}!Handle\-Periodic@{Handle\-Periodic}}
\index{Handle\-Periodic@{Handle\-Periodic}!JoystickDriveService@{Joystick\-Drive\-Service}}
\subsubsection[{Handle\-Periodic}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Drive, typename Value, void($\ast$)(\-Drive \&drive, const Value \&value) Handler$>$ virtual void {\bf Joystick\-Drive\-Service}$<$ Drive, Value, Handler $>$\-::Handle\-Periodic (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_joystick_drive_service_a14aafab1dedef204fbb3b4687e337732}
This function should be overridden to handle the periodic \hyperlink{class_service}{Service} tasks. It will be called periodically when the this controller is started. 

Reimplemented from \hyperlink{class_service_a9604d04295202019e9a15f8c93bb31c6}{Service}.

\hypertarget{class_joystick_drive_service_a10fdd6658947a370286c07028cebce24}{\index{Joystick\-Drive\-Service@{Joystick\-Drive\-Service}!Handle\-Stop@{Handle\-Stop}}
\index{Handle\-Stop@{Handle\-Stop}!JoystickDriveService@{Joystick\-Drive\-Service}}
\subsubsection[{Handle\-Stop}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Drive, typename Value, void($\ast$)(\-Drive \&drive, const Value \&value) Handler$>$ virtual void {\bf Joystick\-Drive\-Service}$<$ Drive, Value, Handler $>$\-::Handle\-Stop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_joystick_drive_service_a10fdd6658947a370286c07028cebce24}
This function should be overridden to handle the \hyperlink{class_service}{Service} stopping. 

Reimplemented from \hyperlink{class_service_a38a2e9e764f74fe0da634d2252ee8744}{Service}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/\-Services/Joystick\-Drive\-Service.\-hpp\end{DoxyCompactItemize}
